ReadHex8Test.asm
Language: 8080 Assembly
Last Modified: 2022-11-12 4:27:45 PM UTC
File Size: 558 bytes
Last Modified: 2022-11-12 4:27:45 PM UTC
File Size: 558 bytes
http://www.penguinstew.ca/example/AltairHexDump/ReadHex8Test.asm
.org 0
LXI SP, 173000Q ; 000000: 061 000 366 Init stack pointer
MVI A, 3Q ; 000003: 076 003 Clear/Init 2SIO port
OUT 20Q ; 000005: 323 020
MVI A, 25Q ; 000007: 076 025
OUT 20Q ; 000011: 323 020
LOOP: CALL ReadHex8 ; 000013: 315 232 366 Read Bye
MOV A, E ; 000016: 173
CALL PrintHex8 ; 000017: 315 337 366 Print Byte
JMP LOOP ; 000022: 303 013 000
1
2
3
4
5
6
7
8
9
10